class Book {
…
static mapping = {
autoTimestamp false
}
}autoTimestamp(boolean)By default when you have properties called dateCreated and lastUpdate in a domain class, Grails will automatically maintain the state of these in the database. If you don't want this to happen then you can set autoTimestamp to false:static mapping = { autoTimestamp false }